package io;

import org.junit.Test;

import java.io.FileInputStream;
import java.io.IOException;
import java.nio.channels.FileChannel;
import java.nio.channels.Selector;

/**
 * @Author: zhenzhong.wang
 * @Time: 2018/4/20 15:02
 */
public class SelectorDemo {

  @Test
  public void testOne() throws IOException {
    FileChannel channel = new FileInputStream("").getChannel();
    Selector selector = Selector.open();
  }

}
